﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Configuration;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                //var db = new DatabaseFactory();
                //var context = db.Context;

                //var categoryRepository = new CategoryRepository(context);
                //var cats = from c in categoryRepository.GetQuery().Include("Products") select c;
                //foreach (var cat in cats)
                //{
                //    var a = cat.Id;
                //}
            }
            catch(Exception ex)
            {
            }
        }
    }
}
